var currentDate = new Date();
var year = currentDate.getFullYear();
var month = currentDate.getMonth() + 1; // 月份从0开始，所以要加1
var day = currentDate.getDate();
// var date = new Date()
// var day = `${year}${month < 10 ? ('0' + month) : month}${day}`
var fileUrl = 'http://60.190.234.154:11440/downloads/update.zip'
SystemPrint.log(fileUrl)
print.log('正在下载公测版')
new okHttp().downloadFile(fileUrl, '/sdcard/auto/hotfix/update.zip')
print.log('下载完成请重新打开应用')

// alert("请重新打开应用")